package ejercicioEncriptador;

import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;

public class TestStrategiaLetrasANumeros {

	ToIntWordsStrategy strategiaEncriptar;
	
	@Before
	public void setUp() throws Exception {
	}

	
	@Test
	public void testPasarAInt(){
		
		assertEquals("1", strategiaEncriptar.toRespectiveInt('a'));
		
		
	}
	

	
	@Test
	public void test1() {
		strategiaEncriptar = new ToIntWordsStrategy(); 
		
		
		
		assertEquals("12345", strategiaEncriptar.encriptar("abcde"));
		
	}

}
